/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa036is.daointerface;

import cz.muni.fi.pa036is.entity.Match;
import cz.muni.fi.pa036is.entity.Round;
import java.util.List;

/**
 *
 * @author Kuba
 */
public interface RoundDAO {

    public void addRound(Round round);

    public void editRound(Round round);

    public void deleteRound(Round round);
   
    public List<Round> getAllRoundsForMatch(Long id);

    public Round findRound(Long matchId, int sequenceNumber);

    public List<Round> getAllRounds();

    public void deleteRound(Long matchId, int sequenceNumber);
				
				public int getFinalScoreForPlayer1(Match match);
				
				public int getFinalScoreForPlayer2(Match match);
				
				public int getNextIndexForMatch(Long id);
}
